<div class="withdrawal">
    <div class="projectBox">
        <div>
            <div style="flex: 2.5">项目名称</div>
            <div>应收</div>
            <div>实收</div>
            <div class="beyond" title="积分优惠券抵扣">积分优惠券抵扣</div>
            <div>退积分</div>
            <div>退实收</div>
            <div>退后应收</div>
            <div>退后实收</div>
        </div>
        @for(payService in payServiceList){
        <div class="backOrders2">
            <input type="hidden" id="deductionTypeName" value="${payService.deductionTypeName}">
            <div class="beyond" style="flex: 2.5" title="${payService.payServiceName}">${payService.payServiceName}</div>
            <div class="foldingPay">${payService.foldingPay}</div>
            <div class="serviceActualPay">${payService.serviceActualPay+payService.depositAmount}</div>
            <div class="deductionAmount">${payService.deductionAmount}</div>
            @if(payService.type == '2'|| payService.deductionAmount == '0' ){ //优惠券
            <div><input class="inputs" readonly="readonly" style="border: none;outline: none;" type="text" value="${payService.deductionAmount}">
                <input class="integrals" style="display: none" type="hidden" value="0"></div>
            @}
            @if(payService.type == '1'){  //积分
            <div><input class="inputs integrals" type="text" oninput="changeIntegrals(this)" value="${payService.deductionAmount}"></div>
            @}
            @if(payService.deductionTypeName == ''|| payService.deductionTypeName == null ){
            <div><input class="inputs" readonly="readonly" style="border: none;outline: none;" type="text" value="0.0">
                <input class="integrals" style="display: none" type="hidden" value="0"></div>
            @}
            <div><input class="backActual inputs" oninput="decimalNum(this),changeBackActual(this)" type="text" value="${payService.serviceActualPay+payService.depositAmount}"></div>
            <div class="backFoldingPay">0</div>
            <div class="backServiceActualPay">0</div>
            <input class="id2" value="${payService.id2}" type="hidden" />
        </div>
        @}
    </div>
    <div class="moneyBox">
        <div style="flex-direction:column">
            <div style="display: flex;width: 100%">
                <div style="flex: none;width: 70px;">总计</div>
                <div style="flex: 1;">应收：<span id="totalFoldingAmount"></span></div>
                <div style="flex: 1;">实收：<span id="totalRefundAmount"></span></div>
                <div style="flex: 1;">退实收：<span id="totalRefundAmount1"></span></div>
                <div style="flex: 1;">退后应收：<span id="totalBackFoldingPay"></span></div>
                <div style="flex: 1;">退后实收：<span id="totalBackServiceActualPay"></span></div>
            </div>
            <div style="display: flex;width: 100%">
                <div style="flex: 1">积分优惠券抵扣：<span id="totalDeductionAmount"></span></div>
                <div style="flex: 1">退积分：<span id="deductionAmount1"></span></div>
                <div style="flex: 1.5"></div>
            </div>
        </div>
        <div class="moneySpanBox">
            <div>
                <span>退款金额</span>
                <input readonly="readonly" id="totalRefundAmount2" type="text" value="0" style="width: 46%;">
            </div>
            <div>
                <span style="width: 48px;">退积分</span>
                <input readonly="readonly" id="deductionAmount"  type="text" value="0" style="width: 55%;">
            </div>
            <div style="flex: 1.3">
                <span>退款时间</span>
                <input type="text" id="refundTime2" autocomplete="off" onclick="laydate({istiem:true,format:'YYYY-MM-DD hh:mm:ss'})">
            </div>
            <div>
                <span style="width: 48px;">退款人</span>
                <select id="refundPeople2">
                    <option value="待定TC">待定TC</option>
                    @for(str in tcList){
                    <option value="${str.tcName}">${str.tcName}</option>
                    @}
                </select>
            </div>
        </div>
        <div class="moneySpanBox">
            <div style="flex: 2.2">
                <span style="vertical-align: top;">备注</span>
                <textarea  id="remarks2" style="width: 78%;"></textarea>
            </div>
            <div style="text-align: right;margin-bottom: -10px;">
                <button onclick="retreatOrderAmount(this)" type="button" class="btn btnStyle">提交</button>
                <button onclick="closesd()" type="button" class="btn btnStyle">取消</button>
            </div>
        </div>
    </div>
</div>
<script src="${ctxPath}/static/modular/tcCenter/consultant/refund_amount.js?v=20200628"></script>